//
//  UILabel+KR.m
//  KEREN
//
//  Created by MW on 2023/3/27.
//

#import "UILabel+KR.h"

@implementation UILabel (KR)
+ (UILabel *)setLblText:(NSString *)text font:(UIFont *)font withColor:(UIColor *)color  inSubView:(UIView *)subView{
    UILabel *label = [[UILabel alloc] init];
    [subView addSubview:label];
    label.text = text;
    label.textColor = color;
    label.font = font;
    return label;
}
@end
